package pf.springBoot.springBootSSO.configuration;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import pf.java.pfHelperNotSpring.IPFConfigMapper;
import pf.java.pfHelperNotSpring.IPFJdbc;
import pf.java.pfHelperNotSpring.ISqlExecute;
import pf.java.pfHelperNotSpring.PFRedisConfig;
import pf.java.pfHelperNotSpring.PFModelConfigMapper;
import pf.java.pfHelperNotSpring.PFNetworkConfig;
import pf.java.pfHelperNotSpring.PFPathConfig;
//import pf.java.pfHelperNotSpring.PFNetworkConfig;
//import pf.java.pfHelperNotSpring.PFPathConfig;

public class PFConfigMapper implements IPFConfigMapper
{
    public List<PFModelConfigMapper> GetModelConfigMapper()
    {
        return new ArrayList<PFModelConfigMapper>(Arrays.asList(
        		//#region 对应XML节点
    	        new PFModelConfigMapper
                (
                    "yjquery",
                    "yjquery"
                ),
                new PFModelConfigMapper
                (
                    "newshop",
                    "newshop"
                ),
                new PFModelConfigMapper
                (
                    "inv",
                    "inv"
                ),
                new PFModelConfigMapper
                (
                    "order",
                    "order"
                ),
                new PFModelConfigMapper
                (
                    "hyzl",
                    "hyzl"
                ),
                new PFModelConfigMapper
                (
                    "tc",
                    "tc"
                ),
    //#endregion
                //#region 按Area
    	        new PFModelConfigMapper//奖金
                (
                    "bonus",
                    "bonus",
                    new ArrayList<>(Arrays.asList( "newshop","yjquery" ))
                ), 
    //#endregion
                    //#region 对应Model
    	            new PFModelConfigMapper(
                    "InvoiceDBInfo",
                    "InvoiceDBInfo",
                    new ArrayList<>(Arrays.asList("yjquery"))
                    //ExProperty=new List<PFModelPropertyConfigMapper>(
                    //    new PFModelPropertyConfigMapper("AgentNo","yjquery","hyxm")
                    //)
                ),
                new PFModelConfigMapper
                (
                    "PerformanceAnalysis",
                    "PerformanceAnalysis"
                ),
                new PFModelConfigMapper
                (
                    "Hyzl",
                    "yjquery",
                    new ArrayList<>(Arrays.asList(  "hyzl" , "newshop" ))
                ),
                new PFModelConfigMapper
                (
                    "Agent",
                    "yjquery"
                ),
                new PFModelConfigMapper
                (
                    "HyRecentShop",
                    "yjquery",
                    new ArrayList<>(Arrays.asList("hyzl" ) )
                ),
                new PFModelConfigMapper
                (
                    "HyLiBao",
                    "yjquery",
                    new ArrayList<>(Arrays.asList( "hyzl" ) )
                ),
                new PFModelConfigMapper
                (
                    "HyNoActivity",
                    "HyNoActivity",
                    new ArrayList<>(Arrays.asList( "yjquery" , "hyzl" ) )
                ),
                new PFModelConfigMapper
                (
                    "BFreeze",
                    "BFreeze"
                ),
                new PFModelConfigMapper
                (
                    "Hyzl.Product",
                    "Hyzl.Product",
                    new ArrayList<>(Arrays.asList("hyzl","inv","yjquery","order"  ))
                ) ,
                new PFModelConfigMapper
                (
                    "Hyzl.Home.AgentPopups",
                    "Hyzl.Home.AgentPopups",
                    new ArrayList<>(Arrays.asList( "yjquery" ))
                ) ,
                new PFModelConfigMapper
                (
                    "YJProvinceNet",
                    "bonus",
                    new ArrayList<>(Arrays.asList( "yjquery" ))
                ) ,
                new PFModelConfigMapper
                (
                    "Meshwork",
                    "bonus",
                    new ArrayList<>(Arrays.asList(  "yjquery" ))
                ) ,
                new PFModelConfigMapper
                (
                    "UserVisitLog",
                    "UserVisitLog"
                ),
                new PFModelConfigMapper
                (
                    "Customer",
                    "Customer",
                    new ArrayList<>(Arrays.asList( "yjquery" ))
                ) ,
                new PFModelConfigMapper
                (
                    "MobileMessage",
                    "MobileMessage"
                ),
                new PFModelConfigMapper
                (
                    "DayOrders",
                    "DayOrders"
                ) 
   //#endregion 对应Model
        		));
    }

    public PFNetworkConfig GetNetworkConfig()
    {
        return new PFNetworkConfig();
    }

    public PFPathConfig GetPathConfig()
    {
        return new PFPathConfig();
    }

	@Override
	public ISqlExecute GetClickHouseSqlExecute(IPFJdbc jdbc) {
		// TODO Auto-generated method stub
		return null;
	}


	@Override
	public PFRedisConfig GetRedisConfig() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean SendMobileMessage(String[] mobileNumber, String msg) {
		// TODO Auto-generated method stub
		return false;
	}
}